/*
 * @Description: 重置ui样式
 * @Author: yiling (315800015@qq.com)
 * @Date: 2021-06-27 13:10:04
 * @LastEditors: liu (1427179517@qq.com)
 * @LastEditTime: 2022-02-09 09:52:37
 * @FilePath: \xiangmu2-mini\src\static\css\uview.scss
 */
// 隐藏边框
.border-none {
  border: none !important;
  .u-btn::after {
    border: none !important;
  }
}
// 空状态
.u-empty {
  display: block;
  height: 80vh;
}

// 骨架屏
.edit__u-skeleton view::after {
  content: 'Loading...';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40rpx;
  height: 50%;
  color: #999;
}
// 表单样式
.edit__u-form {
  display: block;
  .u-form-item {
    font-size: 30rpx;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #333333;
  }
}
.form__input_hidden {
  display: none;
}
// 弹窗
.edit__u-popup {
  .popup {
    &-content {
      padding: 0 30rpx;
    }
    &-title {
      min-height: 102rpx;
      font-size: 30rpx;
      font-family: PingFangSC-Semibold, PingFang SC;
      font-weight: 600;
      color: #333333;
      display: flex;
      align-items: center;
      padding: 0 30rpx;
    }
    &-scroll__item {
      padding: 0 30rpx;
      font-size: 30rpx;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #333333;
      line-height: 42rpx;
      min-height: 104rpx;
      position: relative;
      display: flex;
      align-items: center;
    }
    &__desc {
      font-size: 26rpx;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #acacac;
      line-height: 36rpx;
    }
    &__icon-checked {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
    }
  }
}

// 图片懒加载
.edit__u-lazy-load {
  margin-left: auto;
  margin-right: auto;
  display: block;
  .u-wrap {
    background-color: transparent !important;
  }
}

// 按钮形状的复选框
.tag__u-checkbox-group {
  margin: 0 -10rpx;
  overflow: hidden;
  > .u-checkbox {
    display: block;
    padding: 15rpx 10rpx;
    > .u-checkbox {
      width: 100% !important;
      float: none !important;
    }
  }
  .u-checkbox__label {
    font-size: 26rpx;
    font-family: PingFang SC;
    font-weight: 500;
    border: 1rpx solid $u-border-color;
    color: $u-content-color;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 100rpx;
    min-height: 56rpx;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .u-checkbox__icon-wrap {
    display: none !important;
  }
  .u-checkbox__icon-wrap--checked + .u-checkbox__label {
    background: $u-type-primary;
    border-color: $u-type-primary;
    color: #fff;
  }
}
// 分段器
.edit__u-subsection.primary {
  .u-subsection {
    background-color: #ecf6ff !important;
    border-radius: 56rpx !important;
    padding: 0 !important;
  }
  .u-item {
    border-color: transparent !important;
  }
  .u-item-bg {
    height: 100% !important;
    bottom: 0 !important;
    margin-left: -3rpx;
    background-color: $u-type-primary !important;
    border-radius: inherit !important;
  }
}
// 按钮组
.u-button-group {
  .u-btn {
    border-radius: 0;
  }
}
// 下拉选择框按钮大小
.u-select__header__btn {
  width: 100rpx;
  height: 50rpx;
  line-height: 50rpx;
  text-align: center;
}
